(function myFunction($){
    //Examples of how to assign the ColorBox event to elements

    $(".iframe").colorbox({
        iframe:true, 
        width:"50%", 
        height:"50%"
    });
				
				
    //Example of preserving a JavaScript event for inline calls.
    $("#click").click(function(){ 
        $('#click').css({
            "background-color":"#f00", 
            "color":"#fff", 
            "cursor":"inherit"
        }).text("Open this window again and this message will still be here.");
        return false;
    });
});